package cn.deschen.eshop.user.service.impl;

import cn.deschen.eshop.generator.mapper.UmsResourceMapper;
import cn.deschen.eshop.generator.model.UmsResource;
import cn.deschen.eshop.user.service.UmsResourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author hanbin_chen
 * @Description 后台资源管理Service
 * @DateTime 2021/2/5 10:33
 * @Version V1.0.0
 */
@Service
public class UmsResourceServiceImpl implements UmsResourceService {

    @Autowired
    private UmsResourceMapper umsResourceMapper;

    @Override
    public List<UmsResource> getResourceList() {
        return umsResourceMapper.selectByExample(null);
    }
}
